<?php

namespace App\Providers;

use App\PaymentGateway\Payment;
use Illuminate\Support\ServiceProvider;

class PaymentServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
        //
    }

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
//        $this->app->bind(Payment::class, DemoProvider2::class);

        \App::bind(Payment::class,function (){
            return new Payment();
        });
    }
}
